package com.su.edu.infra.repository.converter;

import com.su.edu.domain.model.UserDo;
import com.su.edu.infra.repository.entity.User;
import org.mapstruct.Mapper;

/**
 * @author wangjun
 * @since 2024/6/5 14:31
 */
@Mapper(componentModel = "spring")
public interface UserPoConverter {
    UserDo toDo(User user);

    User toPo(UserDo userDo);
}
